package com.lottery.pay.service;

import com.alipay.api.AlipayApiException;
import com.lottery.common.contants.ReQueryResult;
import com.lottery.common.entity.PaymentRecords;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

public interface PaymentRecordsService   extends IService<PaymentRecords> {

    int insertSelective(PaymentRecords record);

    PaymentRecords selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PaymentRecords record);

    ReQueryResult payAll(PaymentRecords records) throws AlipayApiException;

    ReQueryResult queryAll(PaymentRecords records, HttpSession session, HttpServletRequest request) throws AlipayApiException;

    ReQueryResult resultAll(Integer type, HttpServletRequest request) throws AlipayApiException;

}
